package com.cq.health.service;

import com.cq.health.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * @Author: 悠久的苍穹
 * @Date: 2020/6/2 12:30
 * @Description: 预约设置业务接口
 * @Version: 1.0
 */
public interface OrderSettingService {
    /**
     * 预约设置批量导入
     * @param orderSettingList
     */
    void add(List<OrderSetting> orderSettingList);

    /**
     * 获取某月预约设置列表
     * @param date yyyy-mm
     * @return
     */
    List<Map> getOrderSettingByMonth(String date);

    /**
     *基于日期更新或新增预约设置
     * @param orderSetting
     */
    void editOrderSettingByDate(OrderSetting orderSetting);
}
